/**
 * 
 */
package cn.edu.cqu.bysj.wm.util;

import java.text.DecimalFormat;

/**
 * @author Meng
 * 
 */
public class DoubleFormat {

	/**
	 * format double value
	 * 
	 * @param d
	 * @return
	 */
	public static double doubleFormat(double d) {
		DecimalFormat df = new DecimalFormat("0.00000");
		String db = df.format(d);
		return Double.parseDouble(db);
	}
}
